package advice;

import net.bytebuddy.asm.Advice;

import java.util.logging.Logger;

public class CustomAdvice {

    @Advice.OnMethodEnter
    public static void before()
    {
        System.out.println("before sayHello()");
    }
    @Advice.OnMethodExit
    public static void exit()
    {
        System.out.println("exiting sayHello()");
    }
}
